package com.nineclock.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nineclock.common.entity.PageResult;
import com.nineclock.system.emp.Emp;
import com.nineclock.system.pojo.SysCompanyUser;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SysCompanyUserService extends IService<SysCompanyUser> {

    /**
     * 查询当前企业主管理员
     *
     * @return
     */
    SysCompanyUser findCurrentAdmin();


    /**
     * 查询企业的全部员工
     *
     * @return
     */
    List<SysCompanyUser> findAllUser();

    PageResult pageFindAll(Long page,Long pageSize,Long departmentId,String keyword);

    PageResult FindAll(Long page,Long pageSize,Long includeMember);

    void uploadUser(MultipartFile excelFile);

    void saveUser(List<Emp> list);
}
